Returns or sets a value that specifies a calendar year.
Syntax
object.Year [= number]
The Year property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
number | A numeric expression that evaluates to an integer indicating the year. |
Remarks
The Year property can be set to any integer from 1601 to 9999.